﻿using System.Collections.Generic;
using Shop.Base.Entity;
using Shop.Interface;

namespace Shop.Base.Interface
{
    public interface ISystemRole:IBase
    {  
        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="roleName">角色名称</param>
        /// <param name="isDel">是否已删除</param>
        /// <param name="pageIndex">当前第几页</param>
        /// <param name="pageSize">每页显示数量</param>
        /// <param name="total">输出总数</param>
        /// <returns></returns>
        List<SystemRolePo> GetPage(string roleName, int isDel, int pageIndex, int pageSize, out int total);
    }
}